package com.jumi.microservice.stock.dto;

import com.jumi.microservice.common.base.AbstractObject;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @Description
 * @ClassName StockMaterialStockDTO
 * @Author Abel Yang
 * @Date 2020/9/10/010 16:06
 **/
public class StockMaterialStockDTO extends AbstractObject implements Serializable {
    private static final long serialVersionUID = -5962402128116229803L;
    @ApiModelProperty(value = "供应链物料id")
    private Long materialId;
    @ApiModelProperty(value = "供应链物料编码")
    private String materialCode;
    @ApiModelProperty(value = "物料正常可用库存(不含破损)")
    private int availableStockNum;
    @ApiModelProperty(value = "物料破损库存")
    private int damageStockNum;
    @ApiModelProperty(value = "仓库id")
    private Long warehouseId;

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    public int getAvailableStockNum() {
        return availableStockNum;
    }

    public void setAvailableStockNum(int availableStockNum) {
        this.availableStockNum = availableStockNum;
    }

    public int getDamageStockNum() {
        return damageStockNum;
    }

    public void setDamageStockNum(int damageStockNum) {
        this.damageStockNum = damageStockNum;
    }

    public Long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }

    @Override
    public String toString() {
        return "StockMaterialStockDTO{" +
                "materialId=" + materialId +
                ", materialCode='" + materialCode + '\'' +
                ", availableStockNum=" + availableStockNum +
                ", damageStockNum=" + damageStockNum +
                ", warehouseId=" + warehouseId +
                '}';
    }
}
